package com.entity;

public class Course {
    private String cno;
    private String cname;
    public String grade;
    private String sno;
    private String sname;
    private String syear;
    private String smajor;

    public Course(String cno, String cname, String grade, String sno, String sname, String syear, String smajor) {
        this.cno = cno;
        this.cname = cname;
        this.grade = grade;
        this.sno = sno;
        this.sname = sname;
        this.syear = syear;
        this.smajor = smajor;
    }

    public String getCno() {
        return cno;
    }

    public void setCno(String cno) {
        this.cno = cno;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSyear() {
        return syear;
    }

    public void setSyear(String syear) {
        this.syear = syear;
    }

    public String getSmajor() {
        return smajor;
    }

    public void setSmajor(String smajor) {
        this.smajor = smajor;
    }
}
